<fs-tabset>
  <fs-tab index="0" heading="{{'title.tab.apmember.general' | translate}}">
    <ng-form name="apMemberGeneralForm">
        <div ng-include="'cda/view/'+app.settings.theme+'/popup/apmember/included/apMemberGeneral.html'"></div>
    </ng-form>
  </fs-tab>
  <fs-tab index="1" heading="{{'title.tab.apmember.account' | translate}}" ng-show="vm.apMember.masterDataStatus && vm.apMember.prodSubtypeExtProperty.ufmAccount == 'Y'">
    <ng-form name="apMemberAccountForm">
        <div ng-include="'cda/view/'+app.settings.theme+'/popup/apmember/included/apMemberAccount.html'"></div>
    </ng-form>
  </fs-tab>
  <fs-tab index="$index + 11" heading="{{item.label}}" ng-show="vm.apMember.masterDataStatus && vm.apMember.interestCatShowFlag[item.value] == 'Y'"
   ng-repeat="item in vm.profIntCats track by $index ">
    <ng-form name="apMemberInterestForm">
        <div ng-include="'cda/view/'+app.settings.theme+'/popup/apmember/included/apMemberInterest.html'"></div>
    </ng-form>
  </fs-tab>
  <fs-tab index="2" heading="{{'title.tab.apmember.pastdue' | translate}}" ng-show="vm.apMember.masterDataStatus && vm.apMember.prodSubtypeExtProperty.ufmPastdue == 'Y'">
    <ng-form name="apMemberPastDueForm">
        <div ng-include="'cda/view/'+app.settings.theme+'/popup/apmember/included/apMemberPastDue.html'"></div>
    </ng-form>
  </fs-tab>
  <fs-tab index="3" heading="{{'title.tab.apmember.fee' | translate}}" ng-show="vm.apMember.masterDataStatus && vm.apMember.prodSubtypeExtProperty.ufmFee == 'Y'">
    <ng-form name="apMemberFeeForm">
        <div ng-include="'cda/view/'+app.settings.theme+'/popup/apmember/included/apMemberFee.html'"></div>
    </ng-form>
  </fs-tab>
  <fs-tab index="4" heading="{{'title.tab.apmember.document' | translate}}" ng-show="vm.apMember.masterDataStatus && vm.apMember.prodSubtypeExtProperty.ufmDoc == 'Y'">
    <ng-form name="apMemberDocumentForm">
        <div ng-include="'cda/view/'+app.settings.theme+'/popup/apmember/included/apMemberDocument.html'"></div>
    </ng-form>
  </fs-tab>
  <fs-tab index="$index + 13" heading="{{item.label}}" ng-show="vm.apMember.masterDataStatus && vm.apMember.facilityCatShowFlag[item.value] == 'Y'"
   ng-repeat="item in vm.profLimitFaciCats track by $index ">
    <ng-form name="apMemberFacilityForm">
        <div ng-include="'cda/view/'+app.settings.theme+'/popup/apmember/included/apMemberFacility.html'"></div>
    </ng-form>
  </fs-tab>
  <fs-tab index="5" heading="{{'title.tab.apmember.setlinst' | translate}}" ng-show="vm.apMember.masterDataStatus && vm.apMember.prodSubtypeExtProperty.ufmSetlinst == 'Y'">
    <ng-form name="apMemberSetlinstForm">
        <div ng-include="'cda/view/'+app.settings.theme+'/popup/apmember/included/apMemberSetlinst.html'"></div>
    </ng-form>
  </fs-tab>
  <fs-tab index="6" heading="{{'title.tab.apmember.billing' | translate}}" ng-show="vm.apMember.masterDataStatus && vm.apMember.prodSubtypeExtProperty.ufmBilling == 'Y'">
    <ng-form name="apMemberBillingForm">
        <div ng-include="'cda/view/'+app.settings.theme+'/popup/apmember/included/apMemberBilling.html'"></div>
    </ng-form>
  </fs-tab>
  <fs-tab index="7" heading="{{'title.tab.apmember.chargeback' | translate}}" ng-show="vm.apMember.masterDataStatus && vm.apMember.prodSubtypeExtProperty.ufmChargeback == 'Y'">
    <ng-form name="apMemberChargebackForm">
        <div ng-include="'cda/view/'+app.settings.theme+'/popup/apmember/included/apMemberChargeback.html'"></div>
    </ng-form>
  </fs-tab>
  <fs-tab index="8" heading="{{'title.tab.apmember.payschd' | translate}}" ng-show="vm.apMember.masterDataStatus && vm.apMember.prodSubtypeExtProperty.ufmPayschd == 'Y'">
    <ng-form name="apMemberPayschdForm">
        <div ng-include="'cda/view/'+app.settings.theme+'/popup/apmember/included/apMemberPayschd.html'"></div>
    </ng-form>
  </fs-tab>
  <fs-tab index="9" heading="{{'title.tab.apmember.invfilter' | translate}}" ng-show="vm.apMember.masterDataStatus && vm.apMember.prodSubtypeExtProperty.ufmInvfilter == 'Y'">
    <ng-form name="apMemberInvfilterForm">
        <div ng-include="'cda/view/'+app.settings.theme+'/popup/apmember/included/apMemberInvfilter.html'"></div>
    </ng-form>
  </fs-tab>
  <fs-tab index="10" heading="{{'title.tab.apmember.custprop' | translate}}" ng-show="vm.apMember.masterDataStatus && vm.apMember.prodSubtypeExtProperty.ufmCustprop == 'Y'">
    <ng-form name="apMemberCustpropForm">
        <div ng-include="'cda/view/'+app.settings.theme+'/popup/apmember/included/apMemberCustprop.html'"></div>
    </ng-form>
  </fs-tab>
</fs-tabset>